<div id="chatbox" class="modal slide-in-up" ng-controller="chatboxCtrl">
    <header class="bar bar-header bar-calm">
        <h1 class="title">密码修改</h1>
        <button class="button button-clear button-primary" ng-click="closeModal()">
            <i class="icon ion-ios7-close-outline"></i>
        </button>
    </header>
    <ion-content class="padding has-header" has-bouncing="true" overflow-scroll="false">
        <form ng-submit="chang()">
            <div class="list">
                <label class="item item-input">
                    <!--<span class="input-label">用户名</span>-->
                    <i class="icon ion-locked" style="color: #727272;margin-right: 10px"></i>
                    <input type="password" ng-model="data.mpassword" placeholder="请输入原密码">
                </label>
                <label class="item item-input">
                    <!--<span class="input-label">密码</span>-->
                    <i class="icon ion-edit" style="color: #727272;margin-right: 10px"></i>
                    <input type="password" ng-model="data.password" placeholder="请输入新密码">
                </label>
                <label class="item item-input">
                    <!--<span class="input-label">密码</span>-->
                    <i class="icon ion-edit" style="color: #de2732;margin-right: 10px"></i>
                    <input type="password" ng-model="data.repassword" placeholder="请再次输入密码">
                </label>
                <label class="item">
                    <button class="button button-block button-positive" type="submit">修改密码</button>
                </label>
            </div>
        </form>

        <div style="text-align: center;">
            <div id="testId" ng-if="show" style="margin-top: 80px">
                <span style="padding: 10px;background-color: #000000;color: #ffffff">{{message}}</span>
            </div>
        </div>

    </ion-content>
</div>